<?php

class Sites_model extends CI_Model{
   private $_table="sites";
   
   public function get_sites(){
       $this->db->order_by("name", "asc");
       $query=  $this->db->get($this->_table);
                         
       return $query->result_array();
   }
}
